retaining gate